Desktop directories use .directory as suffix, not .directory.desktop.
The suffix is still needed for the source file, so xgettext and
damned lies can correctly infer the type, but strip it from the
output file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3541>
i18n.merge_file(
input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
- output: '@BASENAME@',
+ output: '@BASENAME@'.replace('.desktop', ''),
po_dir: po_dir,
install: true,
install_dir: join_paths(datadir, 'desktop-directories'),